#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
路由模块
导出所有蓝图
"""

from .main_routes import main_bp
from .amap_routes import amap_bp
from .text_to_image_routes import text_to_image_bp
from .command_routes import command_bp

__all__ = [
    'main_bp',
    'amap_bp',
    'text_to_image_bp',
    'command_bp'
]


def register_all_blueprints(app):
    """
    注册所有蓝图
    
    Args:
        app: Flask应用实例
    """
    app.register_blueprint(main_bp)
    app.register_blueprint(amap_bp)
    app.register_blueprint(text_to_image_bp)
    app.register_blueprint(command_bp)
    print("✅ 所有HTTP路由蓝图已注册")
